package com.ruoyi.web.domain;

import java.util.List;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 做版管理对象 mes_make_version
 * 
 * @author wxt
 * @date 2024-02-02
 */
@Data
public class MesMakeVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 状态 */
    @Excel(name = "状态", combo = {"未提交", "已提交"}, readConverterExp = "1=未提交,2=已提交")
    private Integer status;

    /** 做版编码 */
    @Excel(name = "做版编码")
    private String makeCode;

    /** 做版时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "做版时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date makeDate;

    /** 做版人 */
    @Excel(name = "做版人")
    private String makeBy;

    private  String isNew;//新旧版 是否

    /** 做版详情信息 */
    private List<MesMakeversionDetail> mesMakeversionDetailList;

    //查询条件
    @TableField(exist = false)
    private String produceId;
    @TableField(exist = false)
    private String pubNo;
    @TableField(exist = false)
    private String produceNo;
    @TableField(exist = false)
    private String bookName;
    @TableField(exist = false)
    private String bookNo;
    @TableField(exist = false)
    private String workshopName;

}
